const {series,parallel} =require('gulp')

const task1=done=>{
    setTimeout(() => {
        console.log('task1 working')
        done()
    }, 1000);
}

const task2=done=>{
    setTimeout(() => {
        console.log('task2 working')
        done()
    }, 1000);
}
const task3=done=>{
    setTimeout(() => {
        console.log('task3 working')
        done()
    }, 1000);
}

exports.seriesTask=series(task1,task3,task2)
exports.parallelTask=parallel(task1,task3,task2)